import request from "@/utils/fetch"

//获取短信验证码
export function getSmsCode(params) {
    return request({
        url: '/home/getSmsCode.do',
        method: 'POST',
        data: params
    })
}

//绑定微信
export function bindWechatUser(params) {
    return request({
        url: '/promoter/bindWechatUser.do',
        method: 'POST',
        data: params
    })
}

// //获取短信验证码
// export function getSmsCode(params) {
//     return request({
//         url: '/home/getSmsCode.do',
//         method: 'get',
//         params
//     })
// }